package com.cyf.pc.network.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

/**
 * 请求：pc端支付广告获取二维码字符串
 * Created by cage on 2017/5/16.
 */
@Api
public class PCGetQrcodeReq extends PCBusinessReq {
    /** 支付宝支付 **/
    public static final int PAYWAY_ALIPAY = 1;
    /** 微信支付 **/
    public static final int PAYWAY_WECHAT = 2;

    @ApiModelProperty("订单号")
    private String orderNo;
    @ApiModelProperty("支付方式（1支付宝 2微信）")
    private int payWay;
    @ApiModelProperty(hidden = true)    // 不再swagger中显示
    @JsonIgnoreProperties(ignoreUnknown = true) // 请求不使用该字段
    private String reqIp;   // 请求的ip

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getPayWay() {
        return payWay;
    }

    public void setPayWay(int payWay) {
        this.payWay = payWay;
    }

    public String getReqIp() {
        return reqIp;
    }

    public void setReqIp(String reqIp) {
        this.reqIp = reqIp;
    }
}
